#include "factory_pattern.h"

void Kruskal_Calc::calc_mst()
{
	std::vector <Edge> spanning_tree;

	std::cout << "Krukal vert size = " << strategy->getVertex()->size() << "\n";
	Graph g(strategy->getEdges()->begin(), strategy->getEdges()->end(), strategy->getWeights()->begin(), strategy->getNumVertex());
	std::cout << "Graph size = " << num_vertices(g) << "\n";
	kruskal_minimum_spanning_tree(g, std::back_inserter(spanning_tree));


	return;
}

void Prims_Calc::calc_mst()
{
	std::cout << "Prims\n";
	return;
}

/*
		std::vector<V>* getVertex() { return v;};
		std::vector<E>* getEdges() { return e;};
		std::vector<float>* getWeights() { return w;};
		int getNumVertex() { return numVertex; };
*/
